package com.yuantu.judiciary.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 登陆表单
 *
 * @author syw
 * @since 2023-08-03
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel("登陆 app 表单")
public class LoginAppForm {
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty("手机号")
    private String phone;
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String code;
}
